<ul class="api cascading primary-grouping"> 
	{{#getActiveAndParents}}
		{{#each parents}}
		<li class="search-container active parent">
			<a class="sidebar-title" href="{{urlTo name}}" data-search="{{#if title}}{{title}}{{else}}{{{name}}}{{/if}}">
				{{makeTitle}}
			</a>
			{{#if ../active.hideChildrenInMenu}}
				{{> active-menu.mustache}}
			{{/if}}
		</li>
		{{/each}}
		{{#active}}
			{{^if hideChildrenInMenu}}
			<li class="search-container active">
			<a class="sidebar-title" href="{{urlTo name}}" data-search="{{#if title}}{{title}}{{else}}{{{name}}}{{/if}}">
				{{makeTitle}}
			</a>
			{{> active-menu.mustache}}
		</li>
			{{/if}}
		{{/active}}
	{{/getActiveAndParents}}
</ul>